// 蜂窝蜜造平台生成代码，如手工更改，请添加到 .beeignore 忽略生成

package com.fowo.api.entity;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fowo.api.common.annotaion.*;
import io.swagger.v3.oas.annotations.media.Schema;
import java.io.Serializable;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;

/**
 * CarryForward
 */
@DS("ds24")
@Getter
@Setter
@TableName(value = "bd_accperiodmonth", autoResultMap = true)
@Schema(title = "结账")
public class CarryForward implements Serializable {

  /**
   * 名称
   */
  @TableField(value = "`test`")
  @Schema(title = "名称")
  private String test;

  /**
   * 是否当前会计期
   */
  @TableField(value = "`is_current_accperiod`")
  @Schema(title = "是否当前会计期")
  private Boolean isCurrentAccperiod;

  /**
   * 年月组合信息
   */
  @TableField(value = "`year_month`")
  @Schema(title = "年月组合信息")
  private String yearMonth;

  /**
   * 结束日期
   */
  @TableField(value = "`end_date`")
  @Schema(title = "结束日期")
  private java.util.Date endDate;

  /**
   * 开始日期
   */
  @TableField(value = "`begin_date`")
  @Schema(title = "开始日期")
  private java.util.Date beginDate;

  /**
   * 会计月份
   */
  @TableField(value = "`accperiod_month`")
  @Schema(title = "会计月份")
  private String accperiodMonth;

  /**
   * 所属会计期间
   */
  @TableField(value = "`pk_accperiod`")
  @Schema(title = "所属会计期间")
  private String pkAccperiod;

  /**
   * 所属组织
   */
  @TableField(value = "`pk_org`")
  @Schema(title = "所属组织")
  private Long pkOrg;

  /**
   * 租户id
   */
  @TableField(value = "`tenant_id`")
  @Schema(title = "租户id")
  private Long tenantId;

  /**
   * 编号
   */
  @TableField(value = "`id`")
  @TableId(type = IdType.ASSIGN_ID)
  @Schema(title = "编号")
  private Long id;

  /**
   * 删除标记
   */
  @TableField(value = "`del_flag`")
  @TableLogic
  @Schema(title = "删除标记")
  private Boolean delFlag;

  /**
   * 更新人
   */
  @TableField(value = "`last_update_user`")
  @Schema(title = "更新人")
  private Long lastUpdateUser;

  /**
   * 更新时间
   */
  @TableField(value = "`last_update_time`")
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
  @Schema(title = "更新时间")
  private java.util.Date lastUpdateTime;

  /**
   * 创建人
   */
  @TableField(value = "`create_user`")
  @Schema(title = "创建人")
  private Long createUser;

  /**
   * 创建时间
   */
  @TableField(value = "`create_time`")
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
  @Schema(title = "创建时间")
  private java.util.Date createTime;

  /**
   * 描述
   */
  @TableField(value = "`description`")
  @Schema(title = "描述")
  private String description;

  /**
   * 名称
   */
  @TableField(value = "`name`")
  @Schema(title = "名称")
  private String name;

  /**
   * 利润 (0 - 未i结; 1 - 已结; )
   */
  @TableField(value = "`profit`")
  @Schema(title = "利润")
  private String profit;

  /**
   * 成本 (0 - 未结; 1 - 已结; )
   */
  @TableField(value = "`cost`")
  @Schema(title = "成本")
  private String cost;

  /**
   * 是否结账 (0 - 未结账; 1 - 已结账; 2 - 部分结账; )
   */
  @TableField(value = "`is_checkout`")
  @Schema(title = "是否结账")
  private String isCheckout;
}
